package com.example.user.mvp.model;


import com.example.lib_core.http.BaseObserver;
import com.example.lib_core.mvp.model.BaseModel;
import com.example.user.api.UserApi;
import com.example.user.bean.UserEntity;
import com.example.user.mvp.contract.LoginContract;

public class LoginModel extends BaseModel implements LoginContract.Model {

    @Override
    public void requestLogin(String username, String pwd, BaseObserver<UserEntity> baseObserver) {
        RequestNetwork(getNetWorkRetrofit().create(UserApi.class)
                .login("13031111995","123456"),baseObserver);

    }
}
